package com.vdong.trade.order.entity.mo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Entity
@Builder
@AllArgsConstructor
@RequiredArgsConstructor
@Table(name = "`sell_hot`")
public class SellHotMO implements Serializable {
    private Long id;

    //销售数量
    private Integer sellNum;
    //类型 1周榜 2月榜
    private String type;
    //商品id
    private Long productKey;
    //商品名称
    private String goodsName;
    //商品图片
    private String imagUrl;
    //商品价格
    private BigDecimal price;
    //推客佣金
    private BigDecimal pusherCommissionRate;
    //预期收益
    private BigDecimal pusherAnticipatedIncomeAmount;
    //创建时间
    private Date createTime;

    private Date updateTime;

    private String subType;
}